/**  
 * All rights Reserved, Designed By www.flksh.com
 * @date:   2017-11-21 09:35:43   
 * @Copyright: 2013-2017 www.flksh.com Inc. All rights reserved. 
 * 注意：本内容仅限于上海福乐康社区养老服务有限公司内部传阅，禁止外泄以及用于其他的商业目
 */
package com.zx.cloud.domain;

import java.time.OffsetDateTime;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.zx.cloud.model.BasicDomain;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zx.cloud.util.converter.jackson.OffsetDateTimeToIso8601Serializer;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * 
 * zx_shop-商户
 *
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ZxShop extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 商户名称
	 */
	@ApiModelProperty(value = "商户名称")
	 private String name;
	/**
	 * 已使金额
	 */
	@ApiModelProperty(value = "已使金额")
	 private Integer type;
	/**
	 * 
	 */
	@ApiModelProperty(value = "")
	 private Integer usedmoney;
	/**
	 * 可用余额
	 */
	@ApiModelProperty(value = "可用余额")
	 private Integer balance;
	/**
	 * 已查询条数
	 */
	@ApiModelProperty(value = "已查询条数")
	 private Integer searchnumber;
	/**
	 * 状态  0-有效  1-冻结
	 */
	@ApiModelProperty(value = "状态  0-有效  1-冻结")
	 private Integer status;
	/**
	 * 删除状态  0-有效  1-删除
	 */
	@ApiModelProperty(value = "删除状态  0-有效  1-删除")
	 private Integer del;
	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间")
	@JsonSerialize(using = OffsetDateTimeToIso8601Serializer.class)		
	 private OffsetDateTime createtime;
    
    public ZxShop(){
    
    }
    
    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public Integer getType() {
        return this.type;
    }
    
    public void setType(Integer type) {
        this.type = type;
    }
    public Integer getUsedmoney() {
        return this.usedmoney;
    }
    
    public void setUsedmoney(Integer usedmoney) {
        this.usedmoney = usedmoney;
    }
    public Integer getBalance() {
        return this.balance;
    }
    
    public void setBalance(Integer balance) {
        this.balance = balance;
    }
    public Integer getSearchnumber() {
        return this.searchnumber;
    }
    
    public void setSearchnumber(Integer searchnumber) {
        this.searchnumber = searchnumber;
    }
    public Integer getStatus() {
        return this.status;
    }
    
    public void setStatus(Integer status) {
        this.status = status;
    }
    public Integer getDel() {
        return this.del;
    }
    
    public void setDel(Integer del) {
        this.del = del;
    }
    public OffsetDateTime getCreatetime() {
        return this.createtime;
    }
    
    public void setCreatetime(OffsetDateTime createtime) {
        this.createtime = createtime;
    }
    
}
